From c447e8fde220e36bfe7b22e11a95d5d857d83ba5 Mon Sep 17 00:00:00 2001 From: real-zephex Date: Thu, 28 Mar 2024 10:02:17 +0530 Subject: fixes: css improvements and UI redesign for manga info page --- src/app/manga/[title]/[id]/page.jsx | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'src/app/manga/[title]/[id]/page.jsx') diff --git a/src/app/manga/[title]/[id]/page.jsx b/src/app/manga/[title]/[id]/page.jsx index 4166568..3038b3f 100644 --- a/src/app/manga/[title]/[id]/page.jsx +++ b/src/app/manga/[title]/[id]/page.jsx @@ -2,6 +2,7 @@ import styles from "./info.module.css"; import Image from "next/image"; import Buttons from "./buttons"; import { redirect } from "next/navigation"; +import { FaStar } from "react-icons/fa"; export default async function MangaInfo({ params }) { const id = params.id; @@ -15,20 +16,20 @@ export default async function MangaInfo({ params }) {
{data && (
-
- Cover Poster +

-

- Ratings: {data.rating / 10} -

Genres: {data.genres && @@ -77,6 +75,12 @@ export default async function MangaInfo({ params }) { ))}

+
+ Ratings: {data.rating / 10} + + + +
-- cgit v1.2.3